﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using FJERP.BLL;
using FJERP.Model;

namespace FJERP.Handler
{
    /// <summary>
    /// HanderUpt 的摘要说明
    /// </summary>
    public class HanderUpt : IHttpHandler
    {
        MemberCardBLL bll = new MemberCardBLL();
        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
            int MemberCard_State = Convert.ToInt32(context.Request["MemberCard_State"]);
            int MemberCard_Id = Convert.ToInt32(context.Request["MemberCard_Id"]);
            context.Response.Write(bll.UptState(MemberCard_State,MemberCard_Id));
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}